package com.itheima.a02interfacedemo2;

public class Test {
    public static void main(String[] args) {
        PingPongSporter pps = new PingPongSporter("malong",35);
        System.out.println(pps.getName()+", "+pps.getAge());
        pps.study();
        pps.speakEnglish();

        BasketballSporter bs = new BasketballSporter("科比",50);
        System.out.println(bs.getName()+", "+bs.getAge());
        bs.study();

    }
}
